package com.justme.shipdfer.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author shiv
 * @create 2021/4/11 12:32 下午
 */
@Getter
@AllArgsConstructor
public enum TemplateTypeEnum {

    TEXT("@@TEXT:@@", null, false, ""),
    FILE("@@FILE:@@", 10, true, ".html"),
    CLASSPATH("@@CLASSPATH:@@", 20, true, ".html");

    /**
     * 资源加载器前缀
     */
    private final String prefix;

    /**
     * 查找顺序
     */
    private final Integer order;

    /**
     * 是否支持pdf生成
     */
    private final Boolean supportPdf;

    /**
     * 资源后缀名
     */
    private final String suffix;

}
